package org.example.xss_resist.entity.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("用户登录类")
//@Tag(name = "用户",description = "用户登录类")
public class UserLoginRequest {

//    @Xss
//    @NotBlank(message = "账号不能为空")
//    @Schema(name = "用户账号",type = "String")
    @ApiModelProperty(value = "用户账号")
    private String userAccount;

//    @Xss
//    @Size(min = 6, max = 18, message = "用户密码长度需在6-18位")
//    @Schema(name = "用户密码",type = "String")
    @ApiModelProperty(value = "用户密码")
    private String password;

//    @Xss
//    @NotBlank(message = "邮箱验证码内容不能为空")
//    @Schema(name = "邮箱验证码",type = "String")
    @ApiModelProperty(value = "邮箱验证码")
    private String emailCaptcha;
}